namespace IECAS.ERS.Services.Pop3
{

  /// <summary>
  /// The possible states of a POP3 Connection.
  /// </summary>
  public enum Pop3ConnectionState {

    /// <summary>
    /// The connection (socket) is closed.
    /// </summary>
    Closed = 0,

    /// <summary>
    /// The POP3 connection is open but not yet authorized (no login).
    /// </summary>
    Authorization = 1,

    /// <summary>
    /// The POP3 connection is open and authorized.
    /// </summary>
    Transaction = 2
  }

}